//
//  QNDividingRulerCell.h
//  QNDividingRuler
//
//  Created by rsh on 2019/12/7.
//  Copyright © 2019年 rsh. All rights reserved.
//

#import "QNHeader.h"


@interface QNDividingRulerModel : NSObject

@property (nonatomic,assign) CGFloat                lineWidth;
@property (nonatomic,assign) CGFloat                largeLineHeight;
@property (nonatomic,assign) CGFloat                smallLineHeight;
@property (nonatomic,assign) CGFloat                lineSpace;
@property (nonatomic,strong) UIColor              * largeLineColor;
@property (nonatomic,strong) UIColor              * smallLineColor;
@property (nonatomic,assign) BOOL                   isLargeLine;

@property (nonatomic,assign) QNRulerAlignmentType currentRulerAlignment;

@end



@interface QNDividingRulerCell : UICollectionViewCell

@property (nonatomic,strong)QNDividingRulerModel *model;

///更新cell中显示文本
-(void)updateCellWithText:(NSString *)showText fontFloat:(CGFloat)fontFloat textColor:(UIColor *)textColor textLargeLineSpace:(CGFloat)space isSelected:(BOOL)isSelected;
///更新cell中显示归零球
-(void)updateCellinPointColor:(UIColor *)color pointWH:(CGFloat)wh largeSpace:(CGFloat)space isShow:(BOOL)isShow;
///更新cell中图片显示
-(void)updateCellWithImage:(NSString *)imageStr;


@end

